package com.site.wisdom_construction.service.trainingCheckModule;

import com.site.wisdom_construction.dao.trainingCheckModule.ExaminationPaperDao;
import com.site.wisdom_construction.entity.trainingCheckModule.ExaminationPaper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/18
 * @Description
 */
@Service
public class ExaminationPaperService implements ExaminationPaperDao {
    @Autowired
    private ExaminationPaperDao examinationPaperDao;

    @Override
    public int insertExaminationPaper(Map map) {
        return examinationPaperDao.insertExaminationPaper(map);
    }

    @Override
    public int deleteExaminationPaper(Map map) {
        return examinationPaperDao.deleteExaminationPaper(map);
    }

    @Override
    public int updateExaminationPaper(Map map) {
        return examinationPaperDao.updateExaminationPaper(map);
    }

    @Override
    public List<ExaminationPaper> findExaminationPaperByPage(Map map) {
        return examinationPaperDao.findExaminationPaperByPage(map);
    }

    @Override
    public long Total(Map map) {
        return examinationPaperDao.Total(map);
    }

    @Override
    public Integer countExaminationPaper(Map map) {
        return examinationPaperDao.countExaminationPaper(map);
    }

    @Override
    public ExaminationPaper findExaminationPaperById(Map map) {
        return examinationPaperDao.findExaminationPaperById(map);
    }

    @Override
    public List<ExaminationPaper> selectExaminationPaper(Map map) {
        return examinationPaperDao.selectExaminationPaper(map);
    }
}
